<?php
class DirectoWebService extends SimpleWebService
{
    
    public function getRequest($requestType, $params)
    {
        $request = null;
		
        switch( $requestType )
        {
            case 'products':
                $request = new FetchAllProductsFromDirectoRequest( $params );            
            break;
            case 'productGroup':
                $request = new FetchAllProductsFromDirectoRequest( $params );            
            break;
        }
        
        return $request;
    }
}